package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by ${zk} on 2018/8/23 0023.
 * 接口3：首页医院推荐图
 */

public class HomeHomemiddle_Info {

    @Override
    public String toString() {
        return "HomeHomemiddle_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":2,"name":"首页","pic":"/upload/advertisement/201808/1534225371_40_0.png","url":null,"app":null}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", pic='" + pic + '\'' +
                    ", url=" + url +
                    ", app=" + app +
                    '}';
        }

        /**
         * id : 2
         * name : 首页
         * pic : /upload/advertisement/201808/1534225371_40_0.png
         * url : null
         * app : null
         */

        private int id;
        private String name;
        private String pic;
        private Object url;
        private Object app;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public Object getUrl() {
            return url;
        }

        public void setUrl(Object url) {
            this.url = url;
        }

        public Object getApp() {
            return app;
        }

        public void setApp(Object app) {
            this.app = app;
        }
    }
}
